#pragma once

#include "RtMidi.h"

class MIDIProcessor
{
public:
	MIDIProcessor(void);
	~MIDIProcessor(void);

	void changeInstrument(int instrument);
	void noteOn(int note, int velocity);
	void noteOff(int note);
	void setVolume(int volume);
	void stopAll();
	void stopAllExcept(int n);

private:
	RtMidiOut* midiout;
	std::vector<unsigned char> message;
	bool notes[128];
};

